import { baseService } from '@/request';

// 基本信息
export function getBasicInfo<T>(params?: T) {
  return baseService({
    url: 'getEnterprisesInfo',
    method: 'get',
    params,
  });
}

export function getRelationURL<T>(params?: T) {
  return baseService({
    url: 'getEnterprisesRelationURL',
    method: 'get',
    params,
  });
}

export function getHolderList<T>(params?: T) {
  return baseService({
    url: 'getShareholderInfo',
    method: 'get',
    params,
  });
}

export function getPersonalList<T>(params?: T) {
  return baseService({
    url: 'getPersonnel',
    method: 'get',
    params,
  });
}

export function getWorks<T>(params?: T) {
  return baseService({
    url: 'getWorks',
    method: 'get',
    params,
  });
}

export function getSoftware<T>(params?: T) {
  return baseService({
    url: 'getSoftware',
    method: 'get',
    params,
  });
}

export function getWebsite<T>(params?: T) {
  return baseService({
    url: 'getWebsite',
    method: 'get',
    params,
  });
}

export function getTrademark<T>(params?: T) {
  return baseService({
    url: 'getTrademark',
    method: 'get',
    params,
  });
}

export function getPatent<T>(params?: T) {
  return baseService({
    url: 'getPatent',
    method: 'get',
    params,
  });
}

export function getAdministrativeLicensing<T>(params?: T) {
  return baseService({
    url: 'getAdministrativeLicensing',
    method: 'get',
    params,
  });
}

export function getAdministrativeSanction<T>(params?: T) {
  return baseService({
    url: 'getAdministrativeSanction',
    method: 'get',
    params,
  });
}

// 企业经营
export function getManageInfo<T>(params?: T) {
  return baseService({
    url: 'getManagementInfo',
    method: 'get',
    params,
  });
}

export function getManageData<T>(params?: T) {
  return baseService({
    url: 'getManagementBigData',
    method: 'get',
    params,
  });
}

// 政策受益
export function getPolicySituation<T>(params?: T) {
  return baseService({
    url: 'getPolicySituation',
    method: 'get',
    params,
  });
}

export function getPolicyCentreData<T>(params?: T) {
  return baseService({
    url: 'getPolicyCentreData',
    method: 'get',
    params,
  });
}

export function getYearPolicy<T>(params?: T) {
  return baseService({
    url: 'getYearPolicy',
    method: 'get',
    params,
  });
}

export function getOutPutValue<T>(params?: T) {
  return baseService({
    url: 'getOutPutValue',
    method: 'get',
    params,
  });
}

// 舆情预警
export function getPublicSentiment<T>(params?: T) {
  return baseService({
    url: 'getPublicSentiment',
    method: 'get',
    params,
  });
}
export function getWarningMonthData<T>(params?: T) {
  return baseService({
    url: 'getWarningMonthData',
    method: 'get',
    params,
  });
}
